
public class Circle2 extends Shape {
	private double radius=1.0;
	Circle2(){
		
	}
	public Circle2(double radius) {
		super();
		this.radius = radius;
	}
	public Circle2(String color, boolean filled,double radius) {
		super(color, filled);
		this.radius=radius;
	}
	public double getRadius() {
		return radius;
	}
	public void setRadius(double radius) {
		this.radius = radius;
	}
	public double getArea(){
		return Math.PI*radius*radius;
	}
	public double getPerimeter(){
		return Math.PI*2*radius;
	}
	@Override
	public String toString() {
		return "Circle2 [radius=" + radius + ", Color=" + getColor() + ", Filled()=" + isFilled()+ ", Area=" + getArea() + ", Perimeter="
				+ getPerimeter() +   "]";
	}
	
	
}